package com.qy.herbagemall.dao;

import com.qy.herbagemall.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    //添加用户
    public void addUser(User user);
    //删除用户
    public void deleteUser(Integer id);
    //修改用户
    public void updateUser(User user);
    //查询一个用户
    public User queryUserByTel(String tel);
    //查询所有用户
    public List<User> queryAllUser();
    //查询用户数量
    public int countAll();
}
